{extend name="public/base"/}
{block name="style"}
{/block}
{block name="content"}
    <div class="data-list" data-url="{:url('log')}">
        <form class="layui-form inline-form">
            <div class="pull-left">
                <div class="layui-inline">
                    <input class="layui-input input-order-sn" autofocus autocomplete="off" name="ref_sn" placeholder="业务单号">
                </div>
                <div class="layui-inline">
                    <input class="layui-input" autocomplete="off" name="sku" placeholder="SPU/SKU">
                </div>
                <div class="layui-inline">
                    <input class="layui-input laydate-range" autocomplete="off" name="create_time" placeholder="操作时间">
                </div>
                <div class="layui-inline">
                    <select name="type" lay-search lay-filter="data-list">
                        <option value="">出入库</option>
                        {foreach $types as $k=>$v}
                        <option value="{$k}">{$v}</option>
                        {/foreach}
                    </select>
                </div>
                <div class="layui-inline">
                    <select name="ref_type" lay-search lay-filter="data-list">
                        <option value="">业务类型</option>
                        {foreach $ref_type as $k=>$v}
                        <option value="{$k}">{$v}</option>
                        {/foreach}
                    </select>
                </div>
                <div class="layui-inline">
                    <button class="layui-btn layui-btn-sm layui-btn-normal search"><i class="layui-icon layui-icon-search"></i></button>
                </div>
            </div>
        </form>
        <div class="data">
            <p><i class="fa fa-spinner fa-spin"></i> 加载中...</p>
        </div>
    </div>
{/block}
{block name="script"}
{/block}